#ifndef __NETWORK_H
#define __NETWORK_H

#include "dm9000.h"
#include "Include.h"
#include "includes.h"
#include "netif/etharp.h"

#include "lwip/mem.h"
#include "lwip/sockets.h"
#include "lwip/memp.h"
#include "lwip/init.h"
#include "lwip/dhcp.h"
#include "ethernetif.h" 
#include "lwip/timers.h"
#include "lwip/tcp_impl.h"
#include "lwip/ip_frag.h"
#include "lwip/tcpip.h" 
#include "lwip/netif.h"
#include "lwip/opt.h"
#include "lwip/lwip_sys.h"
#include "lwip/api.h"
#include "delay.h"
#include "malloc.h"

void NetInit(void);
uint8_t LwIP_Init(void);
uint8_t LwIP_mem_malloc(void);
void lwip_dev_init(__lwip_dev *lwipx);
void LwIP_mem_free(void);
void lwip_dm9000_input_task(void *pdata);
void NetObjectInit(void);
void NetReceive(void *prg);
void NetSend(void *prg);
void NetDHCP(void *prg);
void NetConnection(void *prg);
void NetRegist(void *prg);
void NetBreakout(void *prg);


#endif




